package com.ruoyi.cangku.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 仓库信息对象 cangku
 *
 * @author ruoyi
 * @date 2023-05-18
 */
@ApiModel(value = "仓库实体类")
public class Cangku extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @ApiModelProperty("id")
    private Long id;

    /** 仓库编号 */
    @ApiModelProperty("仓库编号")
    @Excel(name = "仓库编号")
    private String cangkuId;

    /** 仓库分区 */
    @ApiModelProperty("仓库分区")
    private String cangkuFenqu;

    /** 仓库名称 */
    @ApiModelProperty("仓库名称")
    @Excel(name = "仓库名称")
    private String cangkuName;

    /** 仓库地址 */
    @ApiModelProperty("仓库地址")
    @Excel(name = "仓库地址")
    private String cangkuAddress;

    /** 仓库状态（0所有 1正常 2停用） */
    @ApiModelProperty("仓库状态0=所有,1=正常,2=停用")
    private String cangkuStatus;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCangkuId(String cangkuId)
    {
        this.cangkuId = cangkuId;
    }

    public String getCangkuId()
    {
        return cangkuId;
    }
    public void setCangkuFenqu(String cangkuFenqu)
    {
        this.cangkuFenqu = cangkuFenqu;
    }

    public String getCangkuFenqu()
    {
        return cangkuFenqu;
    }
    public void setCangkuName(String cangkuName)
    {
        this.cangkuName = cangkuName;
    }

    public String getCangkuName()
    {
        return cangkuName;
    }
    public void setCangkuAddress(String cangkuAddress)
    {
        this.cangkuAddress = cangkuAddress;
    }

    public String getCangkuAddress()
    {
        return cangkuAddress;
    }
    public void setCangkuStatus(String cangkuStatus)
    {
        this.cangkuStatus = cangkuStatus;
    }

    public String getCangkuStatus()
    {
        return cangkuStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("cangkuId", getCangkuId())
                .append("cangkuFenqu", getCangkuFenqu())
                .append("cangkuName", getCangkuName())
                .append("cangkuAddress", getCangkuAddress())
                .append("cangkuStatus", getCangkuStatus())
                .toString();
    }
}
